package com.yzt.zhuju.dialog;

import android.os.Bundle;
import android.view.Gravity;

import com.yzt.zhuju.R;

/**
 * author : bob
 * date   : 2022/12/2
 * desc   :顶部弹出的弹窗
 */
public abstract class TopBaseDialog extends BaseDialog {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setStyle(STYLE_NO_TITLE, R.style.DialogTopCustomeStyle);
    }

    @Override
    public int getGravity() {
        return Gravity.TOP;
    }
}